
#include "Token.h"


namespace mjc {

	Token::Token(): 
		type(TokenType::T_NONE), 
		line(0), 
		column(0), 
		value(0), 
		strValue()
	{}

	Token::Token(const Token& other): 
		type(other.type),
		line(other.line),
		column(other.column),
		value(other.value),
		strValue(other.strValue)
	{}

	Token Token::operator =(const mjc::Token &other)
	{
		type = other.type;
		line = other.line;
		column = other.column;
		value = other.value;
		strValue = other.strValue;
		return *this;
	}
}